import { LayoutCustome } from '@/components/layout'
import { RouteRecordRaw } from 'vue-router'

export const EXCEPTION_ROUTE: RouteRecordRaw = {
    path: '/:pathMatch(.*)*',
    name: 'exception',
    component: () => import('@/views/exception/index.vue')
}

export const LAYOUT_CUSTOME_ROUTE: RouteRecordRaw = {
    path: '',
    name: 'custome',
    component: LayoutCustome,
    redirect: 'home',
    children: []
}

export const LOGIN_ROUTE: RouteRecordRaw = {
    name: 'login',
    path: '/login',
    component: () => import('@/views/login/index.vue')
}

export const WHITE_LIST = [EXCEPTION_ROUTE.name, LOGIN_ROUTE.name]
export const INIT_LIST = [LOGIN_ROUTE, EXCEPTION_ROUTE]
